package com.ma.gulimall.auth.feign;

import com.ma.gulimall.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @ClassName ThirdPartFeignService
 * @Author: mayongqiang
 * @DATE 2021/9/28 21:01
 * @Description:
 */
@FeignClient("gulimall-third-party")
public interface ThirdPartFeignService {

    @GetMapping(value = "/sms/sendCode")
    R sendCode(@RequestParam(value = "phone") String phone, @RequestParam(value = "code") String code);
}